package com.lst.service.impl;



import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.lst.dao.PlanCourseMapper;
import com.lst.model.PlanCourse;
import com.lst.service.PlanCourseService;


/**
 * @ClassName: PlanCourseServiceImpl
 * @Description: 制定计划实现类层
 * 
 */
@Service("PlanCourseService")
public class PlanCourseServiceImpl implements PlanCourseService {
	
	@Autowired
	private PlanCourseMapper dao;

	@Override
	public int insert(PlanCourse record) {
		
		return dao.insert(record);
	}

	@Override
	public int updateByUser(Map<String, Object> map) {
		
		return dao.updateByUser(map);
	}

	@Override
	public List<PlanCourse> selectByUser(Map<String, Object> map) {
		
		return dao.selectByUser(map);
	}

	@Override
	public List<PlanCourse> selectByUser2(Map<String, Object> map) {
		
		return dao.selectByUser2(map);
	}

	@Override
	public int countByStatus(Map<String, Object> map) {
		
		return dao.countByStatus(map);
	}

	@Override
	public PlanCourse selectById(Integer id) {
		
		return dao.selectById(id);
	}

	@Override
	public int countByMap(Map<String, Object> map) {
		
		return dao.countByMap(map);
	}

	@Override
	public int countByMap2(Map<String, Object> map) {
		
		return dao.countByMap2(map);
	}

	@Override
	public PlanCourse selectByMap(Map<String, Object> map) {
		
		return dao.selectByMap(map);
	}

	@Override
	public void update(PlanCourse record) {
		
		dao.update(record);
	}

	@Override
	public List<PlanCourse> selectByMap2(Map<String, Object> map) {
		
		return dao.selectByMap2(map);
	}



}
